package com.team11.server.controller.admin;

import com.team11.server.pojo.KqISelInformation;
import com.team11.server.pojo.SelKqInformation;
import com.team11.server.service.admin.Admin_SelKq_Service;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@CrossOrigin
@Api(tags = "管理员接口")
public class Admin_SelKq_Controller {
    @Autowired
    private Admin_SelKq_Service admin_selKq_service;
    @ApiOperation("条件查询考勤信息")
    @PostMapping("/SelKq")
    public List<SelKqInformation> selKq(KqISelInformation kqISelInformation){
        return admin_selKq_service.selKq(kqISelInformation);
    }
}
